#!/usr/bin/env bash

# DATA_PATH/site => /var/www/html
# DATA_PATH => /data

# 切换到项目目录（容器目录）
LARAVEL_PATH=/var/www/html/laravel8
cd ${LARAVEL_PATH}

php artisan config:clear
php artisan route:clear
php artisan view:clear
php artisan event:clear
php artisan cache:clear

php artisan route:cache
php artisan config:cache
php artisan view:cache
php artisan event:cache